Categories

Versions

You are viewing the RapidMiner Studio documentation for version 10.1 - Check here for latest version

Execute Remote Program (Operator Toolbox)

Synopsis

This operator allows you to run programs on a distant computer using ssh

Description

This operator executes a shell command, which is executed on a remote computer. The operator opens a secure channel and then executes whatever command given.

The result of the command (what you see on the terminal screen) is returned as a Document object.

Input

  • con (Connection)

    The passed through connection object.

Output

  • doc (IOObject)

    The result of the command as a document.

  • error (IOObject)

    This documents holds the text which is returned by the command in the "error" category. Note that this does not necessarily mean, that the program failed. This can for example contain warnings.

Parameters

  • command Command to execute on the remote computer. Range:
  • fail_on_error If set to true, the operator will throw an error if the sent command does not return the exit code of 0. If set to false the operator will just finish, but the error document contains both the exit status and the error text. Range:
  • write_to_log If set to true both, the normal output as well as the error output are written to the log file. In RapidMiner studio you can access the log by adding the respective panel. The logs of processes executed on a RapidMiner AI Hub are available in the Web-UI. Range:

Tutorial Processes